package com.study.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: TODO
 * @Author: csc
 * @Date: 2024/9/29 14:33
 * @Version: 1.0
 **/
@RestController
@RequestMapping("/api")
public class TestController {



    @GetMapping("/test")
    public String test(){
        return "你好啊! 我发布成功了 我测试一下构建";
    }

    @GetMapping("/nihao")
    public String nihao(){
        return  "呵呵,再来一次"+5;
    }

}
